# 集合的练习
my_set = set()
my_list = ['黑马程序员','传智教育','黑马程序员','传智教育','itheima','itcast','itheima','itcast']
for element in my_list :
    my_set.add(element)
print(f"最终得到集合内容为{my_set}")



# 字典的练习

my_dict = {
    "王力宏" : {"部门" : "科技部","工资" : 3000,"级别" : 1},
    "周杰伦" : {"部门" : "市场部","工资" : 5000,"级别" : 2},
    "林俊杰" : {"部门" : "市场部","工资" : 6000,"级别" : 1}
}
for name in my_dict :
    if my_dict[name]["级别"] == 1 :
        my_dict[name]["级别"] += 1
        my_dict[name]["工资"] += 1000
print(my_dict)
